<h1 id="mainTitle" class="profile">プロフィール編集画面</h1>
<!-- #mainColumns -->
<div id="mainColumns">
	<?php echo $this->Form->create('User', array('action' => 'profile', 'type' => 'file')); ?>
		<table class="form">
			<tr>
				<td class="left"><label for="firstName">名前</label></td>
				<td>
					<ul class="name">
						<li>
							<label for="lastName">姓</label><?php echo $this->Form->text('Profile.last_name', array('class' => 'text', 'maxLength' => 45, 'id' => 'lastName')); ?>
							<div><?php echo $form->error('Profile.last_name', null, array('class'=>'error-message')); ?></div>
						</li>
						<li class="last">
							<label for="firstName">名</label>
							<?php echo $this->Form->text('Profile.first_name', array('class' => 'text', 'id' => 'firstName')); ?>
							<div><?php echo $form->error('Profile.first_name', null, array('class'=>'error-message')); ?></div>
						</li>
					</ul>
				</td>
			</tr>
			<tr>
				<td class="left"><label for="headline">肩書き<br/>キャッチコピー</label></td>
				<td>
					<?php echo $this->Form->text('Profile.headline', array('class' => 'text', 'id' => 'headline')); ?>
					<div><?php echo $form->error('Profile.headline', null, array('class'=>'error-message')); ?></div>
				</td>
			</tr>
			<tr>
				<td class="left"><label for="avatar">ユーザアイコン</label></td>
				<td>
					<?php echo $this->Form->file('Profile.icon_image', array('class' => 'file', 'id' => 'avatar')); ?><br>
					<div><?php echo $form->error('Profile.icon_image', null, array('class'=>'error-message')); ?></div>
				</td>
			</tr>
			<tr>
				<td class="left"><label for="description">プロフィール</label></td>
				<td>
					<?php echo $this->Form->textarea('Profile.description' , array('class' => 'textarea', 'id' => 'description')); ?>
					<div><?php echo $form->error('Profile.description', null, array('class'=>'error-message')); ?></div>
				</td>
			</tr>
			<tr>
				<td colspan="2" class="submit">
					<?php echo $form->submit('save_off.gif', array('div' => false)); ?>
				</td>
			</tr>
		</table>
	<?php echo $this->Form->end(); ?>
</div>
<!-- /#mainColumns -->
<!-- #subColumns -->
<div id="subColumns">
	<?php echo $this->element('user/left_user_profile'); ?>
	
	<?php echo $this->element('user/left_user_navi'); ?>
</div>
<!-- /#subColumns -->
<?php echo $this->element('top_link'); ?>